package com.cino.org.mapper;

import com.cino.basic.base.mapper.BaseMapper;
import com.cino.org.domain.Shop;
import com.cino.org.dto.ShopDto;
import io.swagger.models.auth.In;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Cino
 * @since 2023-02-04
 */
public interface ShopMapper extends BaseMapper<Shop> {

    Shop loadByNameAndAddress(Shop shop);

    void updateState(@Param("state")Integer state, @Param("shopId")Long shopId);

    List<ShopDto> echarts();
}
